home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / basic / dir_bas.exe / DIR.DOC < prev    next >
Encoding:
Text File  |  1992-08-26  |  4.3 KB  |  75 lines

  1.  
  2.                                    DIR.BAS
  3.  
  4.           This is my first attempt to give back a small piece of what I've
  5.      gleaned from the SHAREWARE community. So, if this documentation seems
  6.      somewhat elementary in style, please forgive me, I'm STILL learning.
  7.           I created DIR.BAS out of my learning about DOS functions called
  8.      interrupts, as well as out of a frustration with QuickBASIC's lack of
  9.      directory-getting abilities.
  10.           After creating DIR.BAS, I wanted to create a 'demo' of it's ease
  11.      of use and it's practicality. Hence, DIRDEMO.BAS was born. After
  12.      spending more time on DIRDEMO than I had getting DIR.BAS running, I
  13.      found that DIRDEMO was even more useful for my everyday program 
  14.      development needs. I have a 386SX at home with 160MB of hard disk
  15.      storage, which (for now) is more than enough for me. But when I
  16.      purchased my 386SX Notebook only 80MB would fit within my budget. I
  17.      examined my 'road-needs' for my consulting/programming business on my
  18.      Notebook, but didn't have any tools to see how many bytes a directory
  19.      WITH ALL IT'S SUBDIRECTORIES took. So, I added this functionality to
  20.      DIRDEMO and now all I have to do is position the selection line on the
  21.      'menu', press F2, and I know whether to zap that dude or not. (By the
  22.      way, yes I DO use ZIP first to save space on my HD, but nowadays every
  23.      program you load can do everything and more than you bought it for and
  24.      therefore takes up mega-megabytes.)
  25.           Most of the code is pretty well self-documented and (I hope) easy
  26.      to understand. If you use the COMMAND LINE CREATION section of DIR.BAS's
  27.      source, you should be able to implement it fairly easily.
  28.           As I stated in the beginning of this DOC, this is a small attempt at
  29.      repaying the SHAREWARE community for all that I have learned in the past
  30.      few years regarding technique, style, and simple understanding (and as
  31.      you may notice, I AM STILL learning! - SOMEDAY you may see my name signed
  32.      below a tech article in a PC rag, but not quite yet!). I ask nothing
  33.      monetarily for this code. Use it, pass it on, fix it up (if you do this,
  34.      PLEEEASE send me an example of how you improved on it - I am starting
  35.      to do this for a living, and have much to learn!), BUT (and you knew this
  36.      was coming somewhere):
  37.  
  38.           The FAIRCHILD rule of tough:
  39.  
  40.             THIS SOFTWARE IS TO BE USED AT THE USERS' OWN RISK! THERE
  41.             ARE NO WARRANTIES IMPLIED OR OTHERWISE. FAIRCHILD COMPUTER
  42.             SERVICES ACCEPTS NO RESPONSIBILITIES WHATSOEVER FOR THIS
  43.             SOFTWARE'S RESULTS. IF THIS SOFTWARE RENDERS YOUR COMPUTER
  44.             OR OTHER DEVICE INOPERABLE, POKES YOU IN THE EYE, OR CALLS
  45.             YOUR MOTHER-IN-LAW TERRIBLE, IRRECONCILABLE NAMES, FAIRCHILD
  46.             COMPUTER SERVICES MAINTAINS NO LIABILITY AT ALL!
  47.             (Though I might suggest a bouquet of flowers if it does the
  48.             mother-in-law thing.)
  49.  
  50.           Now, for those of you who will feel tremendously guilty for using
  51.      this code without SOME sort of remuneration, I offer this:
  52.  
  53.             If you send me $5, it will constitute a full payment for
  54.             the work that has gone into DIR.BAS and DIRDEMO.BAS. I
  55.             will then put your name and address on my mailing list for
  56.             announcements of future programming developments (unless
  57.             you don't want me to!). If you send me a blank diskette
  58.             (any size) with $6, I will also send you some other useful
  59.             programs/subroutines that I have written using interrupts
  60.             (some examples include: GetProcessor, Pause, DiskSize,
  61.             ResetDisk, GetDiskInfo, GetPCType, DOSVersionNumber,
  62.             CurrentDir, ExpFree, VideoMode, and others...). If you
  63.             send $7, I'll put them on a diskette (size of your choice)
  64.             for you. (I hope to eventually have just about ALL the
  65.             available DOS interrupts in accessible BASIC formats.)
  66.  
  67.  
  68.                              That's it! Enjoy!!
  69.  
  70.  
  71.                         Fairchild Computer Services
  72.                             Route 5, Box 523-12
  73.                           Wills Point, TX   75169
  74.                                (903) 873-2114
  75.